export interface SingleUploadResponse {
  //   code: number
  data: UploadResponseData
  message: string
}

export interface MultipleUploadResponse {
  data: {
    files: UploadResponseData[]
  }
  message: string
}

export interface UploadResponseData {
  url: string
  filename: string
}

export interface FileItem {
  uid: string
  name: string
  url?: string
  status: 'ready' | 'uploading' | 'success' | 'error'
  percentage?: number
  raw?: File
}

export interface UploadFile {
  raw: File
  name: string
}
